package com.example.administrator.alarmmanagerdemo1;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.support.v7.app.AppCompatActivity;

/**
 * Created by Administrator on 2017/9/22.
 */

public class AlarmReceive extends BroadcastReceiver{
    @Override
    public void onReceive(Context context, Intent arg1){
        context.startService(new Intent(context,FirstService.class));
    }

}
